package org.mzx.shortLink.adminn.domain.mapper;

import org.apache.ibatis.annotations.Param;
import org.mzx.shortLink.adminn.domain.entity.TGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.mzx.shortLink.adminn.dto.Request.groupSortDtoReq;

import java.util.List;

/**
* @author mazhenxi
* @description 针对表【t_group】的数据库操作Mapper
* @createDate 2024-11-26 17:45:27
* @Entity org.mzx.shortLink.adminn.domain.entity.TGroup
*/
public interface TGroupMapper extends BaseMapper<TGroup> {

    void updateBatch(@Param("gids") List<groupSortDtoReq> gids);

    List<String> selectGidsByUserName(@Param("username") String username);

    Integer findGroupNumByuserName(@Param("userName") String userName);
}




